package com.meilai.project.service.business.workbench;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meilai.project.dto.business.workbench.FillWeekCustomerTargetDTO;
import com.meilai.project.dto.business.workbench.SigningTimeDTO;
import com.meilai.project.dto.business.workbench.VisitRecordDTO;
import com.meilai.project.vo.business.workbench.MonthTargetCountVO;
import com.meilai.project.vo.business.workbench.NextMonthTargetVO;
import com.meilai.project.vo.business.workbench.SignatureHistoryVO;

import java.time.LocalDate;
import java.util.List;

public interface SaleMonthService {

    /**
     * 查询本月目标数据
     *
     * @param type 1:公司客户 2：个人客户
     * @return 本月目标数据
     */
    MonthTargetCountVO queryThisMonthTargetData(Integer type);

    Boolean addOrEditSigningTime(SigningTimeDTO dto);

    Boolean addVisitRecord(VisitRecordDTO dto);

    Page<SignatureHistoryVO> signatureHistoryList(Integer current_page, Integer page_size, Long customer_id, LocalDate begin_date, LocalDate end_date);

    NextMonthTargetVO nextMonthTarget(Integer type);

    Boolean saveThisMonthCustomerTarget(List<FillWeekCustomerTargetDTO> dtoList);

    Boolean confirmReceive(Long id);
}
